---
sidebar_position: 2
---

# Servers

import nestJSLogo from '/img/nestLogo.png';
import expressJSLogo from '/img/expressLogo.png';
import springBootLogo from '/img/springBootLogo.png';
import goLogo from '/img/goLogo.png';
import flaskLogo from '/img/flaskLogo.png';
import nextLogo from '/img/nextLogo.png';
import svelteLogo from '/img/svelteLogo.png';

The following are example backend projects that are preconfigured to work with Deep Chat. Each one includes a variety of endpoints
that can be used to host your own service or act as a proxy for the following AI APIs - [OpenAI](https://openai.com/blog/openai-api),
[HuggingFace](https://huggingface.co/docs/api-inference/index), [Cohere](https://docs.cohere.com/docs).

The projects are setup to work with the example [UI project](https://github.com/OvidijusParsiunas/deep-chat/tree/main/example-servers/ui).
Once the server and UI are both running - they should be able to communicate with each other right out of the box.

<img
  src={expressJSLogo}
  className="adaptive-logo-filter"
  width="41"
  style={{float: 'left', marginRight: '7px', marginTop: '19px'}}
/>

## Express

JavaScript project that uses Node's [ExpressJS](https://expressjs.com/) framework:

<img src={nestJSLogo} width="38" style={{float: 'left', marginRight: '8px', marginTop: '21px'}} />

## Nest

JavaScript project that uses Node's [NestJS](https://nestjs.com/) framework:

[Click for GitHub Project](https://github.com/OvidijusParsiunas/deep-chat/tree/main/example-servers/node/nestjs)

[Click for GitHub Project](https://github.com/OvidijusParsiunas/deep-chat/tree/main/example-servers/node/express)

<img src={springBootLogo} width="36" style={{float: 'left', marginRight: '8px', marginLeft: '1px', marginTop: '23px'}} />

## Spring Boot

Java project that uses the [Spring Boot](https://spring.io/projects/spring-boot) framework:

[Click for GitHub Project](https://github.com/OvidijusParsiunas/deep-chat/tree/main/example-servers/java/springboot)

<img src={goLogo} width="20" style={{float: 'left', marginRight: '9px', marginLeft: '4px', marginTop: '25px'}} />

## Go

[Go](https://go.dev/) project that uses the native [http](https://pkg.go.dev/net/http) package:

[Click for GitHub Project](https://github.com/OvidijusParsiunas/deep-chat/tree/main/example-servers/go)

<img
  src={flaskLogo}
  className="adaptive-logo-filter"
  width="27"
  style={{float: 'left', marginRight: '7px', marginLeft: '3px', marginTop: '25px'}}
/>

## Flask

Python project that uses the [Flask](https://flask.palletsprojects.com/en/2.3.x/) framework:

[Click for GitHub Project](https://github.com/OvidijusParsiunas/deep-chat/tree/main/example-servers/python/flask)

<img
  src={nextLogo}
  className="adaptive-logo-filter"
  width="28"
  style={{float: 'left', marginRight: '8px', marginTop: '25px'}}
/>

## Next

JavaScript project that uses the [Next](https://nextjs.org/) framework. This project does not need to use the UI example mentioned above
as it already contains all of the required code. Additionally, it is ready to be deployed to a hosting platform
such as [Vercel](https://vercel.com/):

[Click for GitHub Project](https://github.com/OvidijusParsiunas/deep-chat/tree/main/example-servers/nextjs)

<img src={svelteLogo} width="23" style={{float: 'left', marginRight: '10px', marginTop: '25px'}} />

## SvelteKit

TypeScript project that uses the [SvelteKit](https://kit.svelte.dev/) framework. This project does not need to use the UI example mentioned above
as it already contains all of the required code. Additionally, it is ready to be deployed to a hosting platform
such as [Vercel](https://vercel.com/):

[Click for GitHub Project](https://github.com/OvidijusParsiunas/deep-chat/tree/main/example-servers/sveltekit)

## Troubleshooting

If you are experiencing issueswith any of the examples - please see [**github issues**](https://github.com/OvidijusParsiunas/deep-chat/issues) or create
a [**new issue ticket**](https://github.com/OvidijusParsiunas/deep-chat/issues/new) and we will look into
it as soon as possible.
